/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tedu.mall.sso.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("前台用户电话号码登录DTO")
public class UserPhoneLoginDTO implements Serializable {
    @ApiModelProperty(
        value = "登录电话号",
        name = "phoneNum",
        required = true,
        example = "18800099876"
    )
    private String phoneNum;
    @ApiModelProperty(
        value = "验证码",
        name = "code",
        required = true,
        example = "1827"
    )
    private String code;

    @ApiModelProperty(value = "客户端登录ip,后台填写", name = "ip", example = "127.0.0.1", required = false)
    private String ip;

    @ApiModelProperty(value = "用户代理,后台填写", name = "userAgent", example = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15", required = false)
    private String userAgent;



}
